import java.util.concurrent.FutureTask;

class MyThread extends Thread{
    @Override
    public void run(){

    }
}

public class NumberFive {
    public static void main(String[] args) {
        //第一种
        MyThread myThread=new MyThread();
        myThread.start();
        //第二种
        Thread thread=new Thread(()->{

        });
        thread.start();
        //第三种
        FutureTask futureTask=new FutureTask(()->{
           return "niuma";
        });
        Thread thread1=new Thread(futureTask);
        thread1.start();
    }
}
